package api.cie.rss.common;

import java.io.Serializable;
import java.util.Date;

@SuppressWarnings("serial")
public class Article implements Serializable {
	
	private int id;
	
	private String title;
	
	private String description;
	
	private String url;
	
	private String guid;
	
	private int rating;
	
	private Date publishingDate;
	
	private RSS rss;

	public Article() {
	}

	public Article(int id, String title, String description, String url,
			String guid, int rating, Date publishingDate, RSS rss) {
		super();
		this.id = id;
		this.title = title;
		this.description = description;
		this.url = url;
		this.guid = guid;
		this.rating = rating;
		this.publishingDate = publishingDate;
		this.rss = rss;
	}

	public Article(int id, String title, String description, String url,
			String guid, int rating, Date publishingDate) {
		super();
		this.id = id;
		this.title = title;
		this.description = description;
		this.url = url;
		this.guid = guid;
		this.rating = rating;
		this.publishingDate = publishingDate;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getGuid() {
		return guid;
	}

	public void setGuid(String guid) {
		this.guid = guid;
	}

	public int getRating() {
		return rating;
	}

	public void setRating(int rating) {
		this.rating = rating;
	}

	public Date getPublishingDate() {
		return publishingDate;
	}

	public void setPublishingDate(Date publishingDate) {
		this.publishingDate = publishingDate;
	}

	public RSS getRss() {
		return rss;
	}

	public void setRss(RSS rss) {
		this.rss = rss;
	} 
	
	
}
